home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000245_amarsh@ncpgg.adelaide.edu.au_Fri Aug 29 14:28:33 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
69 lines
Article: 14485 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <amarsh@ncpgg.adelaide.edu.au>
Organization: National Centre for Petroleum Geology and Geophysics
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: SSH command in C-Kermit - how does it get -l paramater
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: rudolph.ncpgg.adelaide.edu.au
Message-ID: <3f4e97b6$1@yorrell.saard.net>
X-Original-Trace: 29 Aug 2003 09:30:54 +0950, rudolph.ncpgg.adelaide.edu.au
Lines: 47
Date: Fri, 29 Aug 2003 00:00:57 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1062115257 203.21.37.20 (Fri, 29 Aug 2003 10:00:57 EST)
NNTP-Posting-Date: Fri, 29 Aug 2003 10:00:57 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14485
Hi, I want to be able to use the SSH command in C-Kermit (8.0.210
Dev.00, 25 Aug 2003, under Solaris 7/SPARC compiled with GCC 3.3) to
connect to a few different remote systems where I have accounts with
different usernames.
I could do
ssh -l differentusername hostname
each time
but wonder why when I do:
set telnet env user differentusername
then
ssh hostname
C-Kermit does:
Connecting via command "ssh -e none -l amarsh hostname"
I would have thought that the argument to the -l parameter would be the
current value of \v(userid), which is set by the set telnet env user
command. How does C-Kermit get the value for the -l parameter of the SSH
command?
Under K95 2.1.4, if I set telnet env differentusername then ssh
hostname, I get prompted for differentusername's password as expected.
Another oddity under C-Kermit is that if I attempt an SSH login which
fails and returns to the C-Kermit prompt, then type Connect, I get:
DNS Lookup... Can't get address for ssh -e none -l username host
Upon issuing the Connect command in K95, I get the SSH password prompt
as expected.
I realise that SSH is an external command in C-Kermit and built-in to
K95, but think it should be possible for the C-Kermit version to behave
more closely like the K95 version in the two cases above.
Regards,
Arthur.